import { defineStore } from 'pinia'

export const useWeatherStore = defineStore('weather', {
  state: () => ({
    city: '',
    adcode: ''
  }),
  actions: {
    setCityInfo(city, adcode) {
      this.city = city
      this.adcode = adcode
    }
  }
})